﻿@{
    ViewData["Title"] = "公司组织表(树)创建界面";
    Layout = null;
}
 <input type="hidden" id="uuid" name="id">


<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',title:'',fit:true,border:false,bodyCls:'border_right_bottom'">
        <div data-toggle="topjui-tabs" data-options="fit:true,border:false">
            <div title="@L("基本信息")" data-options="iconCls:'fa fa-th'">
                <div class="topjui-fluid">
                    <fieldset>
                        <legend>@L("基本信息")</legend>
                    </fieldset>

                 <div class="topjui-row" id="divMyFormParentGUID">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("父级")</label>
                            <div class="topjui-input-block">
                                <input type="text" name="parentGUID" id="myFormParentGUID" data-toggle="topjui-combotreegrid"
                                       data-options="required:false,
                                   columns:[[
                                       {field:'text',title:'@L("名称")',width:100}
                                   ]],
                                    url:'/api/services/app/TreeGrid/GetTreeGird?viewName=View_FW_BuUnit&nodeName=BuUnitName',
                                   expandUrl:'/api/services/app/TreeGrid/GetTreeGird?pid={id}&viewName=View_FW_BuUnit&nodeName=BuUnitName',
                                   getFatherIdsUrl:'/api/services/app/TreeGrid/GetFatherIds?id={id}&viewName=View_FW_BuUnit&nodeName=BuUnitName'
                                   ">
                            </div>
                        </div>
                   </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("组织名称")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitName" type="text" name="buUnitName" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("组织编码")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitCode" type="text" name="buUnitCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("网址")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitWebSiteUrl" type="text" name="buUnitWebSiteUrl" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("传真")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitFax" type="text" name="buUnitFax" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("公司地址")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitAddress" type="text" name="buUnitAddress" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("法人代表")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitLegalPerson" type="text" name="buUnitLegalPerson" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("说明")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBuUnitRemark" type="text" name="buUnitRemark" data-toggle="topjui-textarea" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("是否公司")</label>
                            <div class="topjui-input-block">
                                <div data-toggle="topjui-radio">
                                    <input id="myFormIsCompanyBuUnit1" type="radio" name="isCompanyBuUnit" value="1" label="@L("是")">
                                    <input id="myFormIsCompanyBuUnit2" type="radio" name="isCompanyBuUnit" value="0" label="@L("否")" checked="checked">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("树形的排序编码")</label>
                            <div class="topjui-input-block">
                                <input id="myFormOrderCode" type="text" name="orderCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("对应的图标")</label>
                            <div class="topjui-input-block">
                                <input id="myFormIcon" type="text" name="icon" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

             
                </div>
            </div>
            @*<div title="@L("选填信息")" data-options="iconCls:'fa fa-th'">
                    <div class="topjui-fluid">
                        <fieldset>
                            <legend>@L("扩展消息")</legend>
                        </fieldset>
                    </div>
                </div>*@
        </div>
    </div>
</div>

